Total Complexity | 26 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 292 |
Lines of code | 95 |
Logical lines of code | 44 |
Comment lines | 123 |
Methods | 18 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 50 | 8 | 34 | |
__toString() | 68 | 2 | 7 | |
setName() | 77 | 1 | 4 | |
getDiscountType() | 82 | 1 | 3 | |
setDiscountType() | 77 | 1 | 4 | |
getPercentage() | 82 | 1 | 3 | |
setPercentage() | 77 | 1 | 4 | |
getAmountMoney() | 82 | 1 | 3 | |
setAmountMoney() | 77 | 1 | 4 | |
getName() | 82 | 1 | 3 | |
setPinRequired() | 77 | 1 | 4 | |
getLabelColor() | 82 | 1 | 3 | |
setLabelColor() | 77 | 1 | 4 | |
offsetExists() | 80 | 1 | 3 | |
offsetGet() | 82 | 1 | 3 | |
offsetSet() | 81 | 1 | 3 | |
offsetUnset() | 81 | 1 | 3 | |
getPinRequired() | 82 | 1 | 3 |